package com.qf.purchasing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.purchasing.entity.Audit;
import com.qf.purchasing.qo.AuditQueryQO;
import com.qf.purchasing.vo.AuditVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuditMapper extends BaseMapper<Audit> {
    //根据条件分页查询审核
    List<AuditVO> selectList(@Param("auditQueryQO") AuditQueryQO auditQueryQO);

    //根据id删除审核记录
    int updateIsAudit(@Param("ids") int[] ids);

    //已审核列表
    List<AuditVO> selectAuditList();

    //未审核列表
    List<AuditVO> selectNotAuditList();


}